package ar.edu.utn.frgp.labtec.actions.cliente;

import ar.edu.utn.frgp.labtec.service.GestionClienteService;

@SuppressWarnings("serial")
public class InitEliminarClienteAction extends ClienteAction {

	public String execute(){
		
		getListaClientes();
		return SUCCESS;
	}
	
	protected void getListaClientes(){
		GestionClienteService clienteService = (GestionClienteService) getContext().getBean("gestionClienteService");
		listClientes = clienteService.getClientes();
		listClientes = formatearDatos(listClientes);
	}
}
